<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui" xmlns:pe="http://primefaces.org/ui/extensions"
	xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:cfn="http://web.conquest.meb.org/function"
	xmlns:pretty="http://ocpsoft.com/prettyfaces" template="/WEB-INF/templates/ui.xhtml">

	<ui:define name="content">
		<ul class="nav">
			<li><pretty:link mappingId="viewDeckList">
					<f:param value="#{localeCtrl.language}" />
					<h:outputText value="view my decks" />
				</pretty:link></li>
			<li><pretty:link mappingId="editDeck">
					<f:param value="#{localeCtrl.language}" />
					<f:param value="#{deckViewCtrl.deck.id}" />
					<h:outputText value="edit this deck" />
				</pretty:link></li>
		</ul>
		<h2>
			<h:outputText value="#{deckViewCtrl.deck.name}" />
		</h2>
		<h:panelGroup class="row" layout="block">
			<h:panelGroup class="col-5 col-left" layout="block">
				<h:outputText value="#{deckViewCtrl.deck.description}" converter="baseTextConverter"
					escape="false" />
			</h:panelGroup>
		</h:panelGroup>
	</ui:define>

</ui:composition>